package com.beta.vo.user;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * Created by lichao on 2016/12/1.
 */
@Getter
@Setter
public class ReceiverVO {

    private Integer id;

    @NotNull(message = "user.username.blank")
    private String userName;

    @NotNull(message = "user.phone.blank")
    private String userPhone;

    @NotNull(message = "receiver.province.blank")
    private String province;

    @NotNull(message = "receiver.city.blank")
    private String city;

    @NotNull(message = "receiver.district.blank")
    private String district;

    @NotNull(message = "receiver.districtCode.blank")
    private String districtCode;

    @NotNull(message = "receiver.street.blank")
    private String street;

    @NotNull(message = "receiver.address.blank")
    private String address;

}
